package com.qy.dao;

import java.util.List;
import com.qy.bean.OrderDriver;
/**
* u_order_driver dao接口的生成
* @author zhangwenlong
* @date Fri Feb 02 14:31:21 GMT+08:00 2018
*/ 
public interface OrderDriverDao {

	public boolean createOrderDriver(OrderDriver orderDriver);

	public List<OrderDriver> getOrderDriverList();

	public OrderDriver getOrderDriverById(int id);

	public boolean updateOrderDriver(OrderDriver orderDriver);
	
	/**
	 * 查出司机对应的状态下的订单列表
	 * @param driverId
	 * @param status
	 * @return
	 */
	public List<OrderDriver> getOrderDriverList(int driverId,int status);

}

